<tr>
<td>
  <%= link_to simple_icon('note'), edit_drug_stock_logging_path(:id => stock_logging, :drug_id => params[:id]) %> 
  <%= link_to feather_icon('trash'),drug_stock_logging_path(:id => stock_logging, :drug_id => params[:id]), method: :delete, data: { confirm: 'Are you sure?' }%>
</td><td>
  <%= stock_logging.created_at %>
</td><td>
  <%= stock_logging.stock_logging_category.name %>
</td><td>
  <%= stock_logging.inventory.name %>
</td><td>  
  <%= stock_logging.quantity %>
</td>
</tr>